document.ready(function() {
    webSpinner.spin(getItem('loadSpin'));

    setValue('association', getUrlParam('association'));
    setHtml('title', '查看日志【' + getUrlParam('title') + '】');

    queryKey('ok');
});

function queryKey(flag) {
    var param = {};
    param.ctrl = 'record';
    param.func = 'getAssociationLog';
    param.association = getUrlParam('association');

    sendAjax(param, function(result) {
        logInfo.list = result.logList;

        setDisplay('loadSpin', 'none');
        setDisplay('mainBg', '');
        webSpinner.spin();
    });
}

function back() {
    parent.closeSlipIframeDiv();
}